package com.zhongyouyun.cqyc.service;

import com.zhongyouyun.cqyc.model.NoticeModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.cqyc.pojo.NoticePojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2023-10-20
 * @Description: 消息服务类
 */

public interface NoticeService extends IService<NoticeModel> {

    IPage<NoticeModel> selectPage(Page<NoticeModel> userPage, QueryWrapper<NoticeModel> queryWrapper);

    List<NoticeModel> selectList(QueryWrapper<NoticeModel> queryWrapper);

    IPage<NoticePojo> selectPojoPage(Page page, QueryWrapper queryWrapper);
}
